# example8_4.py

if __name__ == '__main__':
    charles = {'name': 'Charles L. Dodgson', 'born': 1832}
    lewis = charles
    a = lewis is charles
    print(a)
    a, b = id(charles), id(lewis)
    print(a, b)
    lewis['balance'] = 950
    print(charles)
    print('-'*6)
    alex = {'name': 'Charles L. Dodgson', 'born': 1832, 'balance':950}
    a = (alex == charles)
    print(a)
    a = (alex is not charles)
    print(a)